//
//  StyleSheet.m
//  PayViewDemo
//
//  Created by _Finder丶Tiwk on 15/6/9.
//  Copyright (c) 2015年 _Finder丶Tiwk. All rights reserved.
//

//#import <XKSCommonSDK/XKSCommonSDK.h>
#import "StyleSheet.h"
#import "Macro.h"

const CGFloat KSystemSmallFontSize       = 16;
const CGFloat KSystemNormalFontSize   = 20;
const CGFloat KSystemLargeFontSize      = 26;
const CGFloat KSystemHugeFontSize      = 32;
const CGFloat KSystemSuperFontSize      = 64;

@implementation StyleSheet

#pragma mark -各种颜色

+(UIColor *)sysBlueColor{
    return RGB(25, 136, 222);
}

//通用背景颜色
+(UIColor *)commonBackgroundColor{
    return RGB(247, 247, 250);
}

//通用边框颜色
+(UIColor *)commonBorderColor{
    return RGB(200, 199, 204);
}

//通用遮罩层颜色
+(UIColor *)commonTransparentColor{
    return RGBA(0, 0, 0, 0.4);
}



//详情字体颜色
+(UIColor *)commonFontColor{
    return RGB(118, 130, 142);
}

#pragma mark -各种字体

+(UIFont *)smallFont{
    return [UIFont systemFontOfSize:KSystemSmallFontSize];
}
+(UIFont *)smallBlodFont{
    return [UIFont boldSystemFontOfSize:KSystemSmallFontSize];
}

+(UIFont *)normalFont{
    return [UIFont systemFontOfSize:KSystemNormalFontSize];
}

+(UIFont *)normalBlodFont{
    return [UIFont boldSystemFontOfSize:KSystemNormalFontSize];
}

+(UIFont *)largeFont{
    return [UIFont systemFontOfSize:KSystemLargeFontSize];
}
+(UIFont *)largeBlodFont{
    return [UIFont boldSystemFontOfSize:KSystemLargeFontSize];
}


+(UIFont *)hugeFont{
     return [UIFont systemFontOfSize:KSystemHugeFontSize];
}


+(UIFont *)hugeBlodFont{
    return [UIFont boldSystemFontOfSize:KSystemHugeFontSize];
}


+(UIFont *)superFont{
    return [UIFont systemFontOfSize:KSystemSuperFontSize];
}


+(UIFont *)superBlodFont{
    return [UIFont boldSystemFontOfSize:KSystemSuperFontSize];
}


+(UIImage *)imageWithColor:(UIColor *)color{
    CGRect rect = CGRectMake(0.0f, 0.0f, 1.0f, 1.0f);
    UIGraphicsBeginImageContext(rect.size);
    CGContextRef context = UIGraphicsGetCurrentContext();
    CGContextSetFillColorWithColor(context, [color CGColor]);
    CGContextFillRect(context, rect);
    UIImage *image = UIGraphicsGetImageFromCurrentImageContext();
    UIGraphicsEndImageContext();
    return image;
}

/**
 *  返回按钮正常状态的颜色
 */
+(UIColor *)commonButtonNormalColor{
    return RGB(0, 156, 229);
}
/**
 *  返回按钮高亮的颜色
 */
+(UIColor *)commonButtonHighlightedColor{
    return RGB(0, 107, 157);
}
/**
 *  返回按钮不可用状态下的颜色
 */
+(UIColor *)commonButtonDisabledColor{
    return RGB(198, 205, 209);
}
/**
 *  订单详情界面中商品颜色
 */
+(UIColor *)orderDetailCommodityColor{
    return RGB(118, 130, 142);
}
/**
 *  订单详情界面中Cell背景颜色
 */
+(UIColor *)orderDetailCellBackgroundColor {
    return [UIColor whiteColor];
}

+(UIColor *)orderDetailBlackColor{
    return RGB(32, 33, 34);
}
+(UIColor *)keyboardDarkColor
{
    return RGB(150, 159, 177);
}
@end
